package cz.wql.service.imp;

import cz.wql.dao.BaseDictMapper;

import cz.wql.domain.BaseDict;
import cz.wql.service.BaseDictService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class BaseDictServiceimp implements BaseDictService {
    @Resource
    private BaseDictMapper baseDictMapper;


    @Override
    public List<BaseDict> findLevel() {
        return baseDictMapper.findLevel("006") ;
    }

    @Override
    public List<BaseDict> findSource() {
        return baseDictMapper.findSource("002");
    }


}
